<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:70:"E:\sources\member\v4\public/../application/index\view\login\index.html";i:1548565444;s:61:"E:\sources\member\v4\application\index\view\public\title.html";i:1548334499;s:60:"E:\sources\member\v4\application\index\view\public\foot.html";i:1548334499;}*/ ?>
<!doctype html>
<html>

<head>
  <!-- css文件 -->
  <meta charset="utf-8">
<title>后台</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="/static/admin/assets/i/favicon.png">
<link rel="apple-touch-icon-precomposed" href="/static/admin/assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet" href="/static/admin/assets/css/amazeui.min.css" />
<link rel="stylesheet" href="/static/admin/assets/css/admin.css">
<link rel="stylesheet" href="/static/admin/assets/css/app.css">
<link rel="stylesheet" href="/static/admin/assets/css/amazeui.switch.css">
<script src="/static/admin/assets/js/echarts.min.js"></script>
<!-- jquery -->
<script src="/static/common/jquery.min.js"></script>
<!-- layer 弹窗插件-->
<script src="/static/common/layer/layer.js"></script>
</head>

<body data-type="login">

  <div class="am-g myapp-login">
	<div class="myapp-login-logo-block  tpl-login-max">
		<div class="myapp-login-logo-text">
			<div class="myapp-login-logo-text">
				<span> 会员管理系统 </span> <i class="am-icon-skyatlas"></i>
			</div>
		</div>
		<div class="login-font">
			<i>技术支持 </i> 微信 <span> 13015194646</span>
		</div>
		<div class="am-u-sm-10 login-am-center">
			<form class="am-form" id="formDate" onsubmit="return false">
				<fieldset>
					<div class="am-form-group">
						<input type="text" name="user" class="" id="doc-ipt-email-1" placeholder="请输入用户名">
          </div>
					<div class="am-form-group">
						<input type="password" name="password" class="" id="doc-ipt-pwd-1" placeholder="请输入密码">
          </div>
          <br/>
          <div class="am-form-inline">
            <div class="am-form-group">
              <input type="text" name="code" placeholder="请输入验证码">
            </div>
            <div class="am-form-group">
              <img src="<?php echo captcha_src(); ?>"  style="cursor:pointer;" width="70%" onclick="this.src='<?php echo captcha_src(); ?>'" alt="captcha" />
            </div>
          </div>
          
					<p><button type="submit" id="subForm" class="am-btn am-btn-default">登录</button></p>
				</fieldset>
			</form>
		</div>
	</div>
</div>
  <!-- js -->
  <script src="/static/admin/assets/js/amazeui.min.js"></script>
<script src="/static/admin/assets/js/iscroll.js"></script>
<script src="/static/admin/assets/js/app.js"></script>
<script src="/static/admin/assets/js/amazeui.switch.js"></script>
<!--后台admin js-->
<script src="/static/admin/admin.js" type="text/javascript"></script>  
  <script type="text/javascript">
    $('#subForm').click(function(){
      var formDate = $('#formDate').serialize();
      $.ajax({
        url:"<?php echo url('Login/index'); ?>",
        type:'post',
        data:formDate,
        success:function(data){
          if(data.statu == 200){
            location.href = "<?php echo url('Index/index'); ?>"
          }else{
            layer.alert(data.info, {icon: 5});
          }
        }
      })
    })
  </script>
</body>
</html>